//
//  CollectionCycleCell.swift
//  DouYuZB
//
//  Created by James on 2017/10/22.
//  Copyright © 2017年 James. All rights reserved.
//

import UIKit

class CollectionCycleCell: UICollectionViewCell {
    
    @IBOutlet weak var iconImageView: UIImageView!
    
    @IBOutlet weak var titleLabel: UILabel!
    
    var model:CycleModel?{
        didSet{
            titleLabel.text = model?.title
            iconImageView.sd_setImage(with: URL(string:model?.pic_url ?? ""), completed: nil)
        }
    }
    
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

}
